<template>
	<view class="<%= className %>">
		<button @click="onClick">{{title}}</button>
	</view>
</template>

<script>
    //import recordItem from '../../component/record-item.vue';//分包为三级
	export default {
		//components: {recordItem},//组件
		data() {
			return {
				list: [], 
			}
		},
		onLoad(options) {
			this.$u.auth.check()
			this.onActive = Number(options.type || 0)
			uni.setNavigationBarTitle({
				title: '出境货币申报'
			});
		},
		onShow() {
			// 页面显示时触发
		},
		methods: {
			onClick() {
				this.title = "被点了"
				uni.$u.toast('test')
			},
			//获取
			async getData() {
				let params = {}
				let data = await getData(params)
				if (data.errcode == 0) {
					this.appointCountryList = data.data
				}
			}
		}
	}
</script>
<style lang="scss">
/* 背景颜色 */
page {
	background-color: #fff;
}
.<%= className %> {
    
}
</style>
